import request from '@/utils/request'
/**
 * @see {@link http://ps.jibachuan.com/platform/swagger-ui.html#!/query-adapter}
 */

const queryMod = '/query'

/**
 * [customer 查询客户]
 */
export function queryCustomer(params) {
    return request({
        url: `${queryMod}/customer`,
        method: 'get',
        params
    })
}

/**
 * [delivery 查询配送清单]
 */
export function queryDelivery(params) {
    return request({
        url: `${queryMod}/delivery`,
        method: 'get',
        params
    })
}

/**
 * [individual ]
 */
export function queryIndividual(params) {
    return request({
        url: `${queryMod}/individual`,
        method: 'get',
        params
    })

}

/**
 * [journal 查询财务日志]
 */
export function queryJournal(params) {
    return request({
        url: `${queryMod}/journal`,
        method: 'get',
        params
    })

}

/**
 * [myTender ]
 */
export function queryMyTender(params) {
    return request({
        url: `${queryMod}/myTender`,
        method: 'get',
        params
    })

}

/**
 * [operation ]
 */
export function queryOperation(params) {
    return request({
        url: `${queryMod}/operation`,
        method: 'get',
        params
    })

}

/**
 * [preset 查询预置]
 */
export function queryPreset(params) {
    return request({
        url: `${queryMod}/preset`,
        method: 'get',
        params
    })
}

/**
 * [purchase 查询采购]
 */
export function queryPurchase(params) {
    return request({
        url: `${queryMod}/purchase`,
        method: 'get',
        params
    })
}

/**
 * [role 查询角色]
 */
export function queryRole(params) {
    return request({
        url: `${queryMod}/role`,
        method: 'get',
        params
    })
}

/**
 * [store ]
 */
export function queryStore(params) {
    return request({
        url: `${queryMod}/store`,
        method: 'get',
        params
    })
}

/**
 * [storeHistory ]
 */
export function queryStoreHistory(params) {
    return request({
        url: `${queryMod}/storeHistory`,
        method: 'get',
        params
    })
}

/**
 * [supplier 查询供应商]
 */
export function querySupplier(params) {
    return request({
        url: `${queryMod}/supplier`,
        method: 'get',
        params
    })
}

/**
 * [supplierTender ]
 */
export function querySupplierTender(params) {
    return request({
        url: `${queryMod}/supplierTender`,
        method: 'get',
        params
    })
}

/**
 * [tender 查询竞标]
 */
export function queryTender(params) {
    return request({
        url: `${queryMod}/tender`,
        method: 'get',
        params
    })
}

/**
 * [undoDelivery 查询未配送清单]
 */
export function queryUndoDelivery(params) {
    return request({
        url: `${queryMod}/undoDelivery`,
        method: 'get',
        params
    })
}

/**
 * [user 查询用户]
 */
export function queryUser(params) {
    return request({
        url: `${queryMod}/user`,
        method: 'get',
        params
    })
}